package com.zh.kotlin_mvvm.ftp.utils;


import com.zh.kotlin_mvvm.MyApp;

import java.io.UnsupportedEncodingException;

public class PlayerManager {

    public static void pause(String url) {
        try {
            MyApp.getInstance().getp2p().P2Pdoxpause(url.getBytes("GBK"));
        } catch (UnsupportedEncodingException e) {
            e.printStackTrace();
        }
    }
}
